﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP_RORZE_PERMISSION.Base.Objects
{
     [Serializable]
	public class Log
	{
		#region Members
		protected int iD;
		protected string username;
		protected string table;
		protected string task;
        protected string description;
		protected DateTime time;
		#endregion
		#region Public Properties

		/// <summary>
		/// Property relating to database column ID(int,not null)
		/// </summary>
		public int ID
		{
			get { return iD; }
			set { iD = value; }
		}

		/// <summary>
		/// Property relating to database column Username(nvarchar(50),null)
		/// </summary>
		public string Username
		{
			get { return username; }
			set { username = value; }
		}

		/// <summary>
		/// Property relating to database column Table(nvarchar(50),null)
		/// </summary>
		public string Table
		{
			get { return table; }
			set { table = value; }
		}

		/// <summary>
		/// Property relating to database column Task(nvarchar(50),null)
		/// </summary>
		public string Task
		{
			get { return task; }
			set { task = value; }
		}

		/// <summary>
		/// Property relating to database column Key(nvarchar(50),null)
		/// </summary>
        public string Description
		{
            get { return description; }
            set { description = value; }
		}

		/// <summary>
		/// Property relating to database column Time(datetime,null)
		/// </summary>
		public DateTime Time
		{
			get { return time; }
			set { time = value; }
		}
		#endregion
	}
}
